//
//  MujiDubButton.h
//  testdemo
//
//  Created by yule on 2017/6/23.
//  Copyright © 2017年 yule. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface MujiDubButton : UIControl

// 显示用的两个属性
@property (nonatomic, strong) UIImageView *imageView;
@property (nonatomic, strong) UILabel     *titleLabel;

@property (nonatomic, strong) UIColor   *textColor;
@property (nonatomic, strong) UIFont    *textFont;


// 保存内容用的
@property (nonatomic, strong) UIImage  *image;
@property (nonatomic, strong) UIImage  *selectedImage;
@property (nonatomic, copy  ) NSString *title;

+ (instancetype)buttonWithFrame:(CGRect)frame title:(NSString *)title image:(UIImage *)image;

- (void)setSelectedCloror:(UIColor *)color;

@end
